package com.siwei.mes.mapper.laboratory;

import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import com.siwei.mes.entity.laboratory.cement.*;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface CementLaboratoryMapper {

    //根据样品编码查询水泥安定性
    @DataSource(DataSourceNames.LABORATORY)
    public DataSnAdx findDATA_JGCL_SN_ADXBySampleNo(@Param("sampleNo") String sampleNo);

    //新增水泥安定性
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_JGCL_SN_ADX(DataSnAdx dataSnAdx);

    //修改水泥安定性
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_JGCL_SN_ADX(DataSnAdx dataSnAdx);


    //根据样品编码查询水泥标准稠度与初凝时间
    @DataSource(DataSourceNames.LABORATORY)
    public DataSnBZCD_NJSJ findDATA_JGCL_SN_BZCDNJSJBySampleNo(@Param("sampleNo") String sampleNo);

    //新增水泥标准稠度与初凝时间
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_JGCL_SN_BZCDNJSJ(DataSnBZCD_NJSJ dataSnBZCD_njsj);

    //修改水泥标准稠度与初凝时间
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_JGCL_SN_BZCDNJSJ(DataSnBZCD_NJSJ dataSnBZCD_njsj);


    //根据样品编码查询水泥抗压 抗折 3d
    @DataSource(DataSourceNames.LABORATORY)
    public DataSnQDDJ3D findDATA_JGCL_SN_QDDJ3DBySampleNo(@Param("sampleNo") String sampleNo);

    //新增水泥抗压 抗折 3d
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_JGCL_SN_QDDJ3D(DataSnQDDJ3D dataSnQDDJ3D);

    //修改水泥抗压 抗折 3d
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_JGCL_SN_QDDJ3D(DataSnQDDJ3D dataSnQDDJ3D);

    //根据样品编码查询水泥抗压 抗折 28d
    @DataSource(DataSourceNames.LABORATORY)
    public DataSnQDDJ28D findDATA_JGCL_SN_QDDJ28DBySampleNo(@Param("sampleNo") String sampleNo);

    //新增水泥抗压 抗折 28d
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_JGCL_SN_QDDJ28D(DataSnQDDJ28D dataSnQDDJ28D);

    //修改水泥抗压 抗折 28d
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_JGCL_SN_QDDJ28D(DataSnQDDJ28D dataSnQDDJ28D);

    //根据样品编码查询水泥细度
    @DataSource(DataSourceNames.LABORATORY)
    public DataSnXd findDATA_JGCL_SN_XD_SXFBySampleNo(@Param("sampleNo") String sampleNo);

    //新增水泥细度
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_JGCL_SN_XD_SXF(DataSnXd dataSnXd);

    //修改水泥细度
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_JGCL_SN_XD_SXF(DataSnXd dataSnXd);


    //根据样品编码查询水泥比表面积和密度
    @DataSource(DataSourceNames.LABORATORY)
    public DataSnBbmj findDATA_JGCL_SN_XD_BBMJBySampleNo(@Param("sampleNo") String sampleNo);

    //新增水泥比表面积和密度
    @DataSource(DataSourceNames.LABORATORY)
    public void addDATA_JGCL_SN_XD_BBMJ(DataSnBbmj bbmj);

    //修改水泥比表面积和密度
    @DataSource(DataSourceNames.LABORATORY)
    public void updateDATA_JGCL_SN_XD_BBMJ(DataSnBbmj bbmj);

}
